package com.sanyu.pojo.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class RepairmanVO implements Serializable {
    //ID
    private Long id;
    //用户名
    private String name;
    //密码
    private String password;
    //头像URL
    private String image;
    //手机号
    private String phone;
    //邮箱
    private String email;
    //负责片区ID
    private Long districtId;
    //性别
    private String sex;
    //身份证号
    private String identifyNumber;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //创建人ID
    private Long createUser;
    //最后修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //最后修改人ID;
    private Long updateUser;
}
